package com.voilet.interview.mvvm.view;

import android.os.Bundle;

import com.voilet.interview.mvvm.viewmodel.TicTacToeViewModel;

import androidx.appcompat.app.AppCompatActivity;

/**
 * Created by kan212 on 2019/4/14.
 */

public class TicTacToeActivity extends AppCompatActivity{

    TicTacToeViewModel viewModel = new TicTacToeViewModel();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//         binding = DataBindingUtil.setContentView(this,R.layout.activity_tic_tac_toe);
    }

    @Override
    protected void onPause() {
        super.onPause();
        viewModel.onPause();
    }

    @Override
    protected void onResume() {
        super.onResume();
        viewModel.onResume();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        viewModel.onDestroy();
    }

}
